package com.example.administrator.dagger2demo.ui.index;

import com.example.administrator.dagger2demo.adapter.inter.Indo;

import java.util.ArrayList;

import rx.Observer;

/**
 * Created by Administrator on 2016/4/13.
 */
public interface IndexContract {

    interface View {
        void showProgress();

        void startShowView();

        void closeProgress();


    }

    interface IndexActionsListener {

       void requestIndex(Observer<ArrayList<Indo>> observer);

        void loginSuccess(String message);

        void loginError(String message);

    }
}
